package com.example.datachange;

import com.example.datachange.config.DataDictionaryConfig;
import com.stars.datachange.module.DataDictionary;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class DataChangeApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataChangeApplication.class, args);
    }

    @Bean
    public DataDictionary dataDictionary(){
        return DataDictionaryConfig::findList;
    }
}
